<?php /* Smarty version 2.6.27, created on 2013-11-12 22:10:37
         compiled from index.html */ ?>
﻿<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>index</title>
<link rel="stylesheet" type="text/css"  href="style/index.css" />
</head>
<body>
	<div id="wrap">
		<div id="header">
			<table cellspacing=0 cellpadding=0>
				<tr>
					<td><img width="246" height="45" src="img/m01.gif"></img></td>
					<td width="24px" ></td>
					<td><img width="145" height="128"  align="absmiddle" src="img/m02.jpg"></img></td>
					<td><img width="148" height="128"  align="absmiddle" src="img/m03.jpg"></td>
					<td><img width="142" height="128"  align="absmiddle" src="img/m04.jpg"></img></td>
				</tr>
			</table>

			<table cellspacing=0 cellpadding=0 border=0 style="margin-left:55px">
				<tr bgcolor="#0083B3">
					<td><a href="#"><img width="95" height="28" border="0" src="img/m05.gif"></img></a></td>
					<td><a href="#"><img width="95" height="28" border="0" src="img/m06.gif"></img></a></td>
					<td><a href="#"><img width="95" height="28" border="0" src="img/m07.gif"></img></a></td>
					<td><a href="#"><img width="95" height="28" border="0" src="img/m09.gif"></img></a></td>
					<td><img width="128" height="28" src="img/m10.jpg"></img></td>
					<td><img width="142" height="28" src="img/m11.jpg"></img></td>
				</tr>
			</table>
			<table cellspacing=0 cellpadding=0 border=0 style="margin-left:55px">
			<tr bgcolor="#0083B3" height="70px" valign="top" >
				<td width="328">
					<form action="#" method="post">
						<p class="sub">
						<input type="text" name="search_key" size=30 >&nbsp;&nbsp;
						<input type="submit" name="sub" class="search" value="">
						</p>
						<p class="web">
						<input type="checkbox" name="BCPS_Web[]" value="amazon" checked="checked" />Amazon&nbsp;
      					<input type="checkbox" name="BCPS_Web[]" value="dangdang" checked="checked" />当当&nbsp;
       					<input type="checkbox" name="BCPS_Web[]" value="checked" checked="checked" />文轩&nbsp; 
       					<input type="checkbox" name="BCPS_Web[]" value="checked" checked="checked" />北京图书大厦&nbsp;
        				<input type="checkbox" name="BCPS_Web[]" value="checked" checked="checked" />中国图书&nbsp;
        				</P>
					</form>
				</td>
				<td><img  src="img/m12.gif"></img></td>
				<td><img  src="img/m14.gif"></img></td>
				<td><img  src="img/m15.gif"></img></td>
			</tr>
			<tr height="30px" bgcolor="#D7D7D7" valign="middel" align="left">
				<td>
					<?php $_from = $this->_tpl_vars['menus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['menu']):
?>
					<?php echo $this->_tpl_vars['menu']; ?>

					<?php endforeach; endif; unset($_from); ?>
				</td>
				<td></td>
				<td></td>
				<td align="right"><a href="#"><img src="img/watch.png"></img></a></td>
			</tr>
			<tr><td ></td></tr>
			</table>
		</div>
		<div class=""> </div>
		<div id="container">
			<table cellspacing=0 cellpadding=0 border=0 width=100% class="list">
			<?php $_from = $this->_tpl_vars['books']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['book']):
?>
				<form action="detail.php" method="post" >
				<tr align="left" height="200px">
					<td width=30%><img heigth=130 width=125 src="<?php echo $this->_tpl_vars['book']->_IMG_URL; ?>
"></img></td>
					<td width=70%>
						<input type="hidden" name='from_tag'   value="<?php echo $this->_tpl_vars['book']->_FROMTAG; ?>
"  />
						<input type="hidden" name='detail_url' value="<?php echo $this->_tpl_vars['book']->_DETAIL_URL; ?>
" />
						<input type="hidden" name='json_book'   value='<?php echo $this->_tpl_vars['book']->_JSON_STR; ?>
' />
						<input type='submit' class="title"     value="<?php echo $this->_tpl_vars['book']->_BOOKNAME; ?>
" />
						<span class="pingzhuang">[<?php echo $this->_tpl_vars['book']->_PINGZHUANG; ?>
]</span>
						<br>
						<span class="author">作者：<?php echo $this->_tpl_vars['book']->_AUTHOR; ?>
</span>
						<br/>
						<a  onclick="bookComment('<?php echo $this->_tpl_vars['book']->_COMMENT_URL; ?>
','<?php echo $this->_tpl_vars['book']->_FROMTAG; ?>
');" class="a_comment">评论：<?php echo $this->_tpl_vars['book']->_COMMENT_NUMS; ?>
 customer reviews</a>
						<br>
						<span class="price">价格：</span>
						<span class="no_price"><?php echo $this->_tpl_vars['book']->_PRICE; ?>
</span>
						<span class="true_price"><?php echo $this->_tpl_vars['book']->_DISCOUNT_PRICE; ?>
</span>
						<br>
						<span class="add"><a href="#"><img src="img/add.png"></a></span>
						<br/>
						<span class="from">来自-<?php echo $this->_tpl_vars['book']->_FROM; ?>
-网</span>
					</td>
				</tr>
				</form>
				<?php endforeach; endif; unset($_from); ?>
			</table>

		</div>
		<div id="footer">
			<span>Copyright 2013-2014 Powered By Team-6</span><br/>
			<span><img src="img/footer.gif"></span>
		</div>
	</div>
</body>
<script type="text/javascript" src="./js/comment.js"></script>
</html>